package model

// 字段结构
type BuilderField struct {
	PackageCode string `xorm:"varchar(64) notnull 'TABLE_SCHEMA'"`
	StructCode  string `xorm:"varchar(64) notnull 'TABLE_NAME'"`
	StructName  string `xorm:"varchar(2048) notnull 'TABLE_COMMENT'"`

	FieldCode   string `xorm:"varchar(64) notnull 'COLUMN_NAME'"`
	FieldAlias  string
	FieldName   string `xorm:"varchar(1024) notnull 'COLUMN_COMMENT'"`
	FieldType   string `xorm:"longtext notnull 'DATA_TYPE'"`
	Fields      bool
	FieldLength int32 `xorm:"bigint 'CHARACTER_MAXIMUM_LENGTH'"`
	FieldAnno   string
}
